import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store/index'
import './styles/reset.less'// 引入全局样式
import './styles/compatibility.less'// 解决兼容性布局
import './styles/common.less'// 解决兼容性布局
import './styles/theme.css'
import '@/assets/icons/index'
import scroll from 'vue-seamless-scroll'//引入滚动js
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import './utils/dialog'
import { parseTime } from "@/utils/ruoyi";
import jquery from 'jquery'
Vue.prototype.$ = jquery
import '@vant/touch-emulator'
import clickoutside from 'element-ui/src/utils/clickoutside'
Vue.directive('clickoutside', clickoutside)
// vant组件库适配pc端
import { CountDown } from 'vant'
import VueLuckyCanvas from '@lucky-canvas/vue'
Vue.use(VueLuckyCanvas)
Vue.use(ElementUI)
Vue.use(scroll)
Vue.use(CountDown)
Vue.prototype.parseTime = parseTime
import VueAwesomeSwiper from 'vue-awesome-swiper';
Vue.use(VueAwesomeSwiper);
import '../node_modules/swiper/dist/css/swiper.css';
Vue.config.productionTip = false
Vue.prototype.$EventBus = new Vue();
new Vue({
  store,
  router,
  render: h => h(App),
}).$mount('#app')
